import 'package:sil_utils_package/log/SilEntityLog.dart';

class LangEntity {
  String? title;
  Login? login;
  BindingZH? bindingZH;
  BindingSJ? bindingSJ;
  Register? register;
  ResetMM? resetMM;
  ResetMMs? resetMMs;
  SelectGJ? selectGJ;
  SelCountry? selCountry;
  ConcactUs? concactUs;
  Skype? skype;
  Content? content;
  Languages? languages;
  Sel_country? sel_country;
  Bottom? bottom;
  Mine? mine;
  FaultList? faultList;
  Business? business;
  AboutUs? aboutUs;
  User? user;
  EditPhone? editPhone;
  EditEmail? editEmail;
  Index? index;
  Dz_zzw? dz_zzw;
  EditNickName? editNickName;
  UserDz_setting? userDz_setting;
  Dz_add? dz_add;
  Dzdz2? dzdz2;
  Power_setting? power_setting;
  Opinion? opinion;
  Price? price;
  Common? common;
  NetErr? netErr;
  Appup? appup;
  DeviceNetworking? deviceNetworking;

  LangEntity({
    this.title,
    this.login,
    this.bindingZH,
    this.bindingSJ,
    this.register,
    this.resetMM,
    this.resetMMs,
    this.selectGJ,
    this.selCountry,
    this.concactUs,
    this.skype,
    this.content,
    this.languages,
    this.sel_country,
    this.bottom,
    this.mine,
    this.faultList,
    this.business,
    this.aboutUs,
    this.user,
    this.editPhone,
    this.editEmail,
    this.index,
    this.dz_zzw,
    this.editNickName,
    this.userDz_setting,
    this.dz_add,
    this.dzdz2,
    this.power_setting,
    this.opinion,
    this.price,
    this.common,
    this.netErr,
    this.appup,
    this.deviceNetworking,
  });

  LangEntity.fromJson(Map<String, dynamic> json) {
    title = SilEntityLog.handleString(json, 'title');
    if (json.containsKey('login')) {
      var tmp = json['login'];
      if (tmp is Map) {
        login =
            json['login'] != null ? new Login.fromJson(json['login']) : null;
      } else {
        login = null;
      }
    } else {
      login = null;
    }

    if (json.containsKey('bindingZH')) {
      var tmp = json['bindingZH'];
      if (tmp is Map) {
        bindingZH = json['bindingZH'] != null
            ? new BindingZH.fromJson(json['bindingZH'])
            : null;
      } else {
        bindingZH = null;
      }
    } else {
      bindingZH = null;
    }

    if (json.containsKey('bindingSJ')) {
      var tmp = json['bindingSJ'];
      if (tmp is Map) {
        bindingSJ = json['bindingSJ'] != null
            ? new BindingSJ.fromJson(json['bindingSJ'])
            : null;
      } else {
        bindingSJ = null;
      }
    } else {
      bindingSJ = null;
    }

    if (json.containsKey('register')) {
      var tmp = json['register'];
      if (tmp is Map) {
        register = json['register'] != null
            ? new Register.fromJson(json['register'])
            : null;
      } else {
        register = null;
      }
    } else {
      register = null;
    }

    if (json.containsKey('resetMM')) {
      var tmp = json['resetMM'];
      if (tmp is Map) {
        resetMM = json['resetMM'] != null
            ? new ResetMM.fromJson(json['resetMM'])
            : null;
      } else {
        resetMM = null;
      }
    } else {
      resetMM = null;
    }

    if (json.containsKey('resetMMs')) {
      var tmp = json['resetMMs'];
      if (tmp is Map) {
        resetMMs = json['resetMMs'] != null
            ? new ResetMMs.fromJson(json['resetMMs'])
            : null;
      } else {
        resetMMs = null;
      }
    } else {
      resetMMs = null;
    }

    if (json.containsKey('selectGJ')) {
      var tmp = json['selectGJ'];
      if (tmp is Map) {
        selectGJ = json['selectGJ'] != null
            ? new SelectGJ.fromJson(json['selectGJ'])
            : null;
      } else {
        selectGJ = null;
      }
    } else {
      selectGJ = null;
    }

    if (json.containsKey('selCountry')) {
      var tmp = json['selCountry'];
      if (tmp is Map) {
        selCountry = json['selCountry'] != null
            ? new SelCountry.fromJson(json['selCountry'])
            : null;
      } else {
        selCountry = null;
      }
    } else {
      selCountry = null;
    }

    if (json.containsKey('concactUs')) {
      var tmp = json['concactUs'];
      if (tmp is Map) {
        concactUs = json['concactUs'] != null
            ? new ConcactUs.fromJson(json['concactUs'])
            : null;
      } else {
        concactUs = null;
      }
    } else {
      concactUs = null;
    }

    if (json.containsKey('skype')) {
      var tmp = json['skype'];
      if (tmp is Map) {
        skype =
            json['skype'] != null ? new Skype.fromJson(json['skype']) : null;
      } else {
        skype = null;
      }
    } else {
      skype = null;
    }

    if (json.containsKey('content')) {
      var tmp = json['content'];
      if (tmp is Map) {
        content = json['content'] != null
            ? new Content.fromJson(json['content'])
            : null;
      } else {
        content = null;
      }
    } else {
      content = null;
    }

    if (json.containsKey('languages')) {
      var tmp = json['languages'];
      if (tmp is Map) {
        languages = json['languages'] != null
            ? new Languages.fromJson(json['languages'])
            : null;
      } else {
        languages = null;
      }
    } else {
      languages = null;
    }

    if (json.containsKey('sel_country')) {
      var tmp = json['sel_country'];
      if (tmp is Map) {
        sel_country = json['sel_country'] != null
            ? new Sel_country.fromJson(json['sel_country'])
            : null;
      } else {
        sel_country = null;
      }
    } else {
      sel_country = null;
    }

    if (json.containsKey('bottom')) {
      var tmp = json['bottom'];
      if (tmp is Map) {
        bottom =
            json['bottom'] != null ? new Bottom.fromJson(json['bottom']) : null;
      } else {
        bottom = null;
      }
    } else {
      bottom = null;
    }

    if (json.containsKey('mine')) {
      var tmp = json['mine'];
      if (tmp is Map) {
        mine = json['mine'] != null ? new Mine.fromJson(json['mine']) : null;
      } else {
        mine = null;
      }
    } else {
      mine = null;
    }

    if (json.containsKey('faultList')) {
      var tmp = json['faultList'];
      if (tmp is Map) {
        faultList = json['faultList'] != null
            ? new FaultList.fromJson(json['faultList'])
            : null;
      } else {
        faultList = null;
      }
    } else {
      faultList = null;
    }

    if (json.containsKey('business')) {
      var tmp = json['business'];
      if (tmp is Map) {
        business = json['business'] != null
            ? new Business.fromJson(json['business'])
            : null;
      } else {
        business = null;
      }
    } else {
      business = null;
    }

    if (json.containsKey('aboutUs')) {
      var tmp = json['aboutUs'];
      if (tmp is Map) {
        aboutUs = json['aboutUs'] != null
            ? new AboutUs.fromJson(json['aboutUs'])
            : null;
      } else {
        aboutUs = null;
      }
    } else {
      aboutUs = null;
    }

    if (json.containsKey('user')) {
      var tmp = json['user'];
      if (tmp is Map) {
        user = json['user'] != null ? new User.fromJson(json['user']) : null;
      } else {
        user = null;
      }
    } else {
      user = null;
    }

    if (json.containsKey('editPhone')) {
      var tmp = json['editPhone'];
      if (tmp is Map) {
        editPhone = json['editPhone'] != null
            ? new EditPhone.fromJson(json['editPhone'])
            : null;
      } else {
        editPhone = null;
      }
    } else {
      editPhone = null;
    }

    if (json.containsKey('editEmail')) {
      var tmp = json['editEmail'];
      if (tmp is Map) {
        editEmail = json['editEmail'] != null
            ? new EditEmail.fromJson(json['editEmail'])
            : null;
      } else {
        editEmail = null;
      }
    } else {
      editEmail = null;
    }

    if (json.containsKey('index')) {
      var tmp = json['index'];
      if (tmp is Map) {
        index =
            json['index'] != null ? new Index.fromJson(json['index']) : null;
      } else {
        index = null;
      }
    } else {
      index = null;
    }

    if (json.containsKey('dz_zzw')) {
      var tmp = json['dz_zzw'];
      if (tmp is Map) {
        dz_zzw =
            json['dz_zzw'] != null ? new Dz_zzw.fromJson(json['dz_zzw']) : null;
      } else {
        dz_zzw = null;
      }
    } else {
      dz_zzw = null;
    }

    if (json.containsKey('editNickName')) {
      var tmp = json['editNickName'];
      if (tmp is Map) {
        editNickName = json['editNickName'] != null
            ? new EditNickName.fromJson(json['editNickName'])
            : null;
      } else {
        editNickName = null;
      }
    } else {
      editNickName = null;
    }

    if (json.containsKey('userDz_setting')) {
      var tmp = json['userDz_setting'];
      if (tmp is Map) {
        userDz_setting = json['userDz_setting'] != null
            ? new UserDz_setting.fromJson(json['userDz_setting'])
            : null;
      } else {
        userDz_setting = null;
      }
    } else {
      userDz_setting = null;
    }

    if (json.containsKey('dz_add')) {
      var tmp = json['dz_add'];
      if (tmp is Map) {
        dz_add =
            json['dz_add'] != null ? new Dz_add.fromJson(json['dz_add']) : null;
      } else {
        dz_add = null;
      }
    } else {
      dz_add = null;
    }

    if (json.containsKey('dzdz2')) {
      var tmp = json['dzdz2'];
      if (tmp is Map) {
        dzdz2 =
            json['dzdz2'] != null ? new Dzdz2.fromJson(json['dzdz2']) : null;
      } else {
        dzdz2 = null;
      }
    } else {
      dzdz2 = null;
    }

    if (json.containsKey('power_setting')) {
      var tmp = json['power_setting'];
      if (tmp is Map) {
        power_setting = json['power_setting'] != null
            ? new Power_setting.fromJson(json['power_setting'])
            : null;
      } else {
        power_setting = null;
      }
    } else {
      power_setting = null;
    }

    if (json.containsKey('opinion')) {
      var tmp = json['opinion'];
      if (tmp is Map) {
        opinion = json['opinion'] != null
            ? new Opinion.fromJson(json['opinion'])
            : null;
      } else {
        opinion = null;
      }
    } else {
      opinion = null;
    }

    if (json.containsKey('price')) {
      var tmp = json['price'];
      if (tmp is Map) {
        price =
            json['price'] != null ? new Price.fromJson(json['price']) : null;
      } else {
        price = null;
      }
    } else {
      price = null;
    }

    if (json.containsKey('common')) {
      var tmp = json['common'];
      if (tmp is Map) {
        common =
            json['common'] != null ? new Common.fromJson(json['common']) : null;
      } else {
        common = null;
      }
    } else {
      common = null;
    }

    if (json.containsKey('netErr')) {
      var tmp = json['netErr'];
      if (tmp is Map) {
        netErr =
            json['netErr'] != null ? new NetErr.fromJson(json['netErr']) : null;
      } else {
        netErr = null;
      }
    } else {
      netErr = null;
    }

    if (json.containsKey('appup')) {
      var tmp = json['appup'];
      if (tmp is Map) {
        appup =
            json['appup'] != null ? new Appup.fromJson(json['appup']) : null;
      } else {
        appup = null;
      }
    } else {
      appup = null;
    }

    if (json.containsKey('deviceNetworking')) {
      var tmp = json['deviceNetworking'];
      if (tmp is Map) {
        deviceNetworking = json['deviceNetworking'] != null
            ? new DeviceNetworking.fromJson(json['deviceNetworking'])
            : null;
      } else {
        deviceNetworking = null;
      }
    } else {
      deviceNetworking = null;
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    if (this.login != null) {
      data['login'] = this.login!.toJson();
    }
    if (this.bindingZH != null) {
      data['bindingZH'] = this.bindingZH!.toJson();
    }
    if (this.bindingSJ != null) {
      data['bindingSJ'] = this.bindingSJ!.toJson();
    }
    if (this.register != null) {
      data['register'] = this.register!.toJson();
    }
    if (this.resetMM != null) {
      data['resetMM'] = this.resetMM!.toJson();
    }
    if (this.resetMMs != null) {
      data['resetMMs'] = this.resetMMs!.toJson();
    }
    if (this.selectGJ != null) {
      data['selectGJ'] = this.selectGJ!.toJson();
    }
    if (this.selCountry != null) {
      data['selCountry'] = this.selCountry!.toJson();
    }
    if (this.concactUs != null) {
      data['concactUs'] = this.concactUs!.toJson();
    }
    if (this.skype != null) {
      data['skype'] = this.skype!.toJson();
    }
    if (this.content != null) {
      data['content'] = this.content!.toJson();
    }
    if (this.languages != null) {
      data['languages'] = this.languages!.toJson();
    }
    if (this.sel_country != null) {
      data['sel_country'] = this.sel_country!.toJson();
    }
    if (this.bottom != null) {
      data['bottom'] = this.bottom!.toJson();
    }
    if (this.mine != null) {
      data['mine'] = this.mine!.toJson();
    }
    if (this.faultList != null) {
      data['faultList'] = this.faultList!.toJson();
    }
    if (this.business != null) {
      data['business'] = this.business!.toJson();
    }
    if (this.aboutUs != null) {
      data['aboutUs'] = this.aboutUs!.toJson();
    }
    if (this.user != null) {
      data['user'] = this.user!.toJson();
    }
    if (this.editPhone != null) {
      data['editPhone'] = this.editPhone!.toJson();
    }
    if (this.editEmail != null) {
      data['editEmail'] = this.editEmail!.toJson();
    }
    if (this.index != null) {
      data['index'] = this.index!.toJson();
    }
    if (this.dz_zzw != null) {
      data['dz_zzw'] = this.dz_zzw!.toJson();
    }
    if (this.editNickName != null) {
      data['editNickName'] = this.editNickName!.toJson();
    }
    if (this.userDz_setting != null) {
      data['userDz_setting'] = this.userDz_setting!.toJson();
    }
    if (this.dz_add != null) {
      data['dz_add'] = this.dz_add!.toJson();
    }
    if (this.dzdz2 != null) {
      data['dzdz2'] = this.dzdz2!.toJson();
    }
    if (this.power_setting != null) {
      data['power_setting'] = this.power_setting!.toJson();
    }
    if (this.opinion != null) {
      data['opinion'] = this.opinion!.toJson();
    }
    if (this.price != null) {
      data['price'] = this.price!.toJson();
    }
    if (this.common != null) {
      data['common'] = this.common!.toJson();
    }
    if (this.netErr != null) {
      data['netErr'] = this.netErr!.toJson();
    }
    if (this.appup != null) {
      data['appup'] = this.appup!.toJson();
    }
    if (this.deviceNetworking != null) {
      data['deviceNetworking'] = this.deviceNetworking!.toJson();
    }
    return data;
  }
}

class Login {
  String? accountPlaceholder;
  String? passwordPlaceholder;
  String? forgetpwd;
  String? login;
  String? third_party;
  String? noAccount;
  String? goRegister;
  String? agreedProtocol;
  String? userAgreement;
  String? and;
  String? privacyPolicy;
  String? notYet;
  String? agree;
  String? notAgreePrompt;

  Login({
    this.accountPlaceholder,
    this.passwordPlaceholder,
    this.forgetpwd,
    this.login,
    this.third_party,
    this.noAccount,
    this.goRegister,
    this.agreedProtocol,
    this.userAgreement,
    this.and,
    this.privacyPolicy,
    this.notYet,
    this.agree,
    this.notAgreePrompt,
  });

  Login.fromJson(Map<String, dynamic> json) {
    accountPlaceholder = SilEntityLog.handleString(json, 'accountPlaceholder');
    passwordPlaceholder =
        SilEntityLog.handleString(json, 'passwordPlaceholder');
    forgetpwd = SilEntityLog.handleString(json, 'forgetpwd');
    login = SilEntityLog.handleString(json, 'login');
    third_party = SilEntityLog.handleString(json, 'third_party');
    noAccount = SilEntityLog.handleString(json, 'noAccount');
    goRegister = SilEntityLog.handleString(json, 'goRegister');
    agreedProtocol = SilEntityLog.handleString(json, 'agreedProtocol');
    userAgreement = SilEntityLog.handleString(json, 'userAgreement');
    and = SilEntityLog.handleString(json, 'and');
    privacyPolicy = SilEntityLog.handleString(json, 'privacyPolicy');
    notYet = SilEntityLog.handleString(json, 'notYet');
    agree = SilEntityLog.handleString(json, 'agree');
    notAgreePrompt = SilEntityLog.handleString(json, 'notAgreePrompt');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['accountPlaceholder'] = this.accountPlaceholder;
    data['passwordPlaceholder'] = this.passwordPlaceholder;
    data['forgetpwd'] = this.forgetpwd;
    data['login'] = this.login;
    data['third_party'] = this.third_party;
    data['noAccount'] = this.noAccount;
    data['goRegister'] = this.goRegister;
    data['agreedProtocol'] = this.agreedProtocol;
    data['userAgreement'] = this.userAgreement;
    data['and'] = this.and;
    data['privacyPolicy'] = this.privacyPolicy;
    data['notYet'] = this.notYet;
    data['agree'] = this.agree;
    data['notAgreePrompt'] = this.notAgreePrompt;
    return data;
  }
}

class BindingZH {
  String? find_email;
  String? find_phone;
  String? phonePlaceholder;
  String? emailPlaceholder;
  String? codePlaceholder;
  String? next_step;
  String? remember_pwd;
  String? goLogin;

  BindingZH({
    this.find_email,
    this.find_phone,
    this.phonePlaceholder,
    this.emailPlaceholder,
    this.codePlaceholder,
    this.next_step,
    this.remember_pwd,
    this.goLogin,
  });

  BindingZH.fromJson(Map<String, dynamic> json) {
    find_email = SilEntityLog.handleString(json, 'find_email');
    find_phone = SilEntityLog.handleString(json, 'find_phone');
    phonePlaceholder = SilEntityLog.handleString(json, 'phonePlaceholder');
    emailPlaceholder = SilEntityLog.handleString(json, 'emailPlaceholder');
    codePlaceholder = SilEntityLog.handleString(json, 'codePlaceholder');
    next_step = SilEntityLog.handleString(json, 'next_step');
    remember_pwd = SilEntityLog.handleString(json, 'remember_pwd');
    goLogin = SilEntityLog.handleString(json, 'goLogin');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['find_email'] = this.find_email;
    data['find_phone'] = this.find_phone;
    data['phonePlaceholder'] = this.phonePlaceholder;
    data['emailPlaceholder'] = this.emailPlaceholder;
    data['codePlaceholder'] = this.codePlaceholder;
    data['next_step'] = this.next_step;
    data['remember_pwd'] = this.remember_pwd;
    data['goLogin'] = this.goLogin;
    return data;
  }
}

class BindingSJ {
  String? message;
  String? bindingEmail;
  String? bindingPhone;
  String? phonePlaceholder;
  String? emailPlaceholder;
  String? codePlaceholder;
  String? next_step;

  BindingSJ({
    this.message,
    this.bindingEmail,
    this.bindingPhone,
    this.phonePlaceholder,
    this.emailPlaceholder,
    this.codePlaceholder,
    this.next_step,
  });

  BindingSJ.fromJson(Map<String, dynamic> json) {
    message = SilEntityLog.handleString(json, 'message');
    bindingEmail = SilEntityLog.handleString(json, 'bindingEmail');
    bindingPhone = SilEntityLog.handleString(json, 'bindingPhone');
    phonePlaceholder = SilEntityLog.handleString(json, 'phonePlaceholder');
    emailPlaceholder = SilEntityLog.handleString(json, 'emailPlaceholder');
    codePlaceholder = SilEntityLog.handleString(json, 'codePlaceholder');
    next_step = SilEntityLog.handleString(json, 'next_step');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['message'] = this.message;
    data['bindingEmail'] = this.bindingEmail;
    data['bindingPhone'] = this.bindingPhone;
    data['phonePlaceholder'] = this.phonePlaceholder;
    data['emailPlaceholder'] = this.emailPlaceholder;
    data['codePlaceholder'] = this.codePlaceholder;
    data['next_step'] = this.next_step;
    return data;
  }
}

class Register {
  String? register_email;
  String? register_phone;
  String? phonePlaceholder;
  String? emailPlaceholder;
  String? codePlaceholder;
  String? passwordPlaceholder;
  String? passwordPlaceholder_two;
  String? countryPlaceholder;
  String? register;
  String? haveAccount;
  String? goLogin;
  String? goRegister;

  Register({
    this.register_email,
    this.register_phone,
    this.phonePlaceholder,
    this.emailPlaceholder,
    this.codePlaceholder,
    this.passwordPlaceholder,
    this.passwordPlaceholder_two,
    this.countryPlaceholder,
    this.register,
    this.haveAccount,
    this.goLogin,
    this.goRegister,
  });

  Register.fromJson(Map<String, dynamic> json) {
    register_email = SilEntityLog.handleString(json, 'register_email');
    register_phone = SilEntityLog.handleString(json, 'register_phone');
    phonePlaceholder = SilEntityLog.handleString(json, 'phonePlaceholder');
    emailPlaceholder = SilEntityLog.handleString(json, 'emailPlaceholder');
    codePlaceholder = SilEntityLog.handleString(json, 'codePlaceholder');
    passwordPlaceholder =
        SilEntityLog.handleString(json, 'passwordPlaceholder');
    passwordPlaceholder_two =
        SilEntityLog.handleString(json, 'passwordPlaceholder_two');
    countryPlaceholder = SilEntityLog.handleString(json, 'countryPlaceholder');
    register = SilEntityLog.handleString(json, 'register');
    haveAccount = SilEntityLog.handleString(json, 'haveAccount');
    goLogin = SilEntityLog.handleString(json, 'goLogin');
    goRegister = SilEntityLog.handleString(json, 'goRegister');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['register_email'] = this.register_email;
    data['register_phone'] = this.register_phone;
    data['phonePlaceholder'] = this.phonePlaceholder;
    data['emailPlaceholder'] = this.emailPlaceholder;
    data['codePlaceholder'] = this.codePlaceholder;
    data['passwordPlaceholder'] = this.passwordPlaceholder;
    data['passwordPlaceholder_two'] = this.passwordPlaceholder_two;
    data['countryPlaceholder'] = this.countryPlaceholder;
    data['register'] = this.register;
    data['haveAccount'] = this.haveAccount;
    data['goLogin'] = this.goLogin;
    data['goRegister'] = this.goRegister;
    return data;
  }
}

class ResetMM {
  String? reset_pwd;
  String? password;
  String? again_pwd;
  String? done;

  ResetMM({
    this.reset_pwd,
    this.password,
    this.again_pwd,
    this.done,
  });

  ResetMM.fromJson(Map<String, dynamic> json) {
    reset_pwd = SilEntityLog.handleString(json, 'reset_pwd');
    password = SilEntityLog.handleString(json, 'password');
    again_pwd = SilEntityLog.handleString(json, 'again_pwd');
    done = SilEntityLog.handleString(json, 'done');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['reset_pwd'] = this.reset_pwd;
    data['password'] = this.password;
    data['again_pwd'] = this.again_pwd;
    data['done'] = this.done;
    return data;
  }
}

class ResetMMs {
  String? reset_succeed;
  String? goLogin;

  ResetMMs({
    this.reset_succeed,
    this.goLogin,
  });

  ResetMMs.fromJson(Map<String, dynamic> json) {
    reset_succeed = SilEntityLog.handleString(json, 'reset_succeed');
    goLogin = SilEntityLog.handleString(json, 'goLogin');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['reset_succeed'] = this.reset_succeed;
    data['goLogin'] = this.goLogin;
    return data;
  }
}

class SelectGJ {
  String? country;
  String? countryPhlace;
  String? accomplish;

  SelectGJ({
    this.country,
    this.countryPhlace,
    this.accomplish,
  });

  SelectGJ.fromJson(Map<String, dynamic> json) {
    country = SilEntityLog.handleString(json, 'country');
    countryPhlace = SilEntityLog.handleString(json, 'countryPhlace');
    accomplish = SilEntityLog.handleString(json, 'accomplish');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['country'] = this.country;
    data['countryPhlace'] = this.countryPhlace;
    data['accomplish'] = this.accomplish;
    return data;
  }
}

class SelCountry {
  String? search;
  String? title;

  SelCountry({
    this.search,
    this.title,
  });

  SelCountry.fromJson(Map<String, dynamic> json) {
    search = SilEntityLog.handleString(json, 'search');
    title = SilEntityLog.handleString(json, 'title');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['search'] = this.search;
    data['title'] = this.title;
    return data;
  }
}

class ConcactUs {
  String? tel;
  String? IM;
  String? commercial_networks;
  String? after_networks;
  String? outlets;
  String? name;
  String? address;
  String? copy;
  String? copyText;

  ConcactUs({
    this.tel,
    this.IM,
    this.commercial_networks,
    this.after_networks,
    this.outlets,
    this.name,
    this.address,
    this.copy,
    this.copyText,
  });

  ConcactUs.fromJson(Map<String, dynamic> json) {
    tel = SilEntityLog.handleString(json, 'tel');
    IM = SilEntityLog.handleString(json, 'IM');
    commercial_networks =
        SilEntityLog.handleString(json, 'commercial_networks');
    after_networks = SilEntityLog.handleString(json, 'after_networks');
    outlets = SilEntityLog.handleString(json, 'outlets');
    name = SilEntityLog.handleString(json, 'name');
    address = SilEntityLog.handleString(json, 'address');
    copy = SilEntityLog.handleString(json, 'copy');
    copyText = SilEntityLog.handleString(json, 'copyText');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['tel'] = this.tel;
    data['IM'] = this.IM;
    data['commercial_networks'] = this.commercial_networks;
    data['after_networks'] = this.after_networks;
    data['outlets'] = this.outlets;
    data['name'] = this.name;
    data['address'] = this.address;
    data['copy'] = this.copy;
    data['copyText'] = this.copyText;
    return data;
  }
}

class Skype {
  String? skypetitle;

  Skype({
    this.skypetitle,
  });

  Skype.fromJson(Map<String, dynamic> json) {
    skypetitle = SilEntityLog.handleString(json, 'skypetitle');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['skypetitle'] = this.skypetitle;
    return data;
  }
}

class Content {
  String? search;
  String? after;
  String? mobile;
  String? baiduMap;
  String? gaodeMap;
  String? googleMap;
  String? appleMap;
  String? selectMap;
  String? cancel;
  String? message;
  String? noService;

  Content({
    this.search,
    this.after,
    this.mobile,
    this.baiduMap,
    this.gaodeMap,
    this.googleMap,
    this.appleMap,
    this.selectMap,
    this.cancel,
    this.message,
    this.noService,
  });

  Content.fromJson(Map<String, dynamic> json) {
    search = SilEntityLog.handleString(json, 'search');
    after = SilEntityLog.handleString(json, 'after');
    mobile = SilEntityLog.handleString(json, 'mobile');
    baiduMap = SilEntityLog.handleString(json, 'baiduMap');
    gaodeMap = SilEntityLog.handleString(json, 'gaodeMap');
    googleMap = SilEntityLog.handleString(json, 'googleMap');
    appleMap = SilEntityLog.handleString(json, 'appleMap');
    selectMap = SilEntityLog.handleString(json, 'selectMap');
    cancel = SilEntityLog.handleString(json, 'cancel');
    message = SilEntityLog.handleString(json, 'message');
    noService = SilEntityLog.handleString(json, 'noService');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['search'] = this.search;
    data['after'] = this.after;
    data['mobile'] = this.mobile;
    data['baiduMap'] = this.baiduMap;
    data['gaodeMap'] = this.gaodeMap;
    data['googleMap'] = this.googleMap;
    data['appleMap'] = this.appleMap;
    data['selectMap'] = this.selectMap;
    data['cancel'] = this.cancel;
    data['message'] = this.message;
    data['noService'] = this.noService;
    return data;
  }
}

class Languages {
  String? selLanguages;

  Languages({
    this.selLanguages,
  });

  Languages.fromJson(Map<String, dynamic> json) {
    selLanguages = SilEntityLog.handleString(json, 'selLanguages');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['selLanguages'] = this.selLanguages;
    return data;
  }
}

class Sel_country {
  String? search;
  String? title;

  Sel_country({
    this.search,
    this.title,
  });

  Sel_country.fromJson(Map<String, dynamic> json) {
    search = SilEntityLog.handleString(json, 'search');
    title = SilEntityLog.handleString(json, 'title');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['search'] = this.search;
    data['title'] = this.title;
    return data;
  }
}

class Bottom {
  String? station;
  String? service;
  String? me;
  String? setting;

  Bottom({
    this.station,
    this.service,
    this.me,
    this.setting,
  });

  Bottom.fromJson(Map<String, dynamic> json) {
    station = SilEntityLog.handleString(json, 'station');
    service = SilEntityLog.handleString(json, 'service');
    me = SilEntityLog.handleString(json, 'me');
    setting = SilEntityLog.handleString(json, 'setting');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['station'] = this.station;
    data['service'] = this.service;
    data['me'] = this.me;
    data['setting'] = this.setting;
    return data;
  }
}

class Mine {
  String? station_management;
  String? fault_statistice;
  String? business;
  String? feeback;
  String? language;
  String? about_us;
  String? logout;
  String? logoutDesc;
  String? langEC;
  String? today;

  Mine({
    this.station_management,
    this.fault_statistice,
    this.business,
    this.feeback,
    this.language,
    this.about_us,
    this.logout,
    this.logoutDesc,
    this.langEC,
    this.today,
  });

  Mine.fromJson(Map<String, dynamic> json) {
    station_management = SilEntityLog.handleString(json, 'station_management');
    fault_statistice = SilEntityLog.handleString(json, 'fault_statistice');
    business = SilEntityLog.handleString(json, 'business');
    feeback = SilEntityLog.handleString(json, 'feeback');
    language = SilEntityLog.handleString(json, 'language');
    about_us = SilEntityLog.handleString(json, 'about_us');
    logout = SilEntityLog.handleString(json, 'logout');
    logoutDesc = SilEntityLog.handleString(json, 'logoutDesc');
    langEC = SilEntityLog.handleString(json, 'langEC');
    today = SilEntityLog.handleString(json, 'today');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['station_management'] = this.station_management;
    data['fault_statistice'] = this.fault_statistice;
    data['business'] = this.business;
    data['feeback'] = this.feeback;
    data['language'] = this.language;
    data['about_us'] = this.about_us;
    data['logout'] = this.logout;
    data['logoutDesc'] = this.logoutDesc;
    data['langEC'] = this.langEC;
    data['today'] = this.today;
    return data;
  }
}

class FaultList {
  String? faultList;
  String? pending;
  String? completed;
  String? warning_desc;
  String? time_failure;
  String? sn;
  String? device_type;
  String? no_data;

  FaultList({
    this.faultList,
    this.pending,
    this.completed,
    this.warning_desc,
    this.time_failure,
    this.sn,
    this.device_type,
    this.no_data,
  });

  FaultList.fromJson(Map<String, dynamic> json) {
    faultList = SilEntityLog.handleString(json, 'faultList');
    pending = SilEntityLog.handleString(json, 'pending');
    completed = SilEntityLog.handleString(json, 'completed');
    warning_desc = SilEntityLog.handleString(json, 'warning_desc');
    time_failure = SilEntityLog.handleString(json, 'time_failure');
    sn = SilEntityLog.handleString(json, 'sn');
    device_type = SilEntityLog.handleString(json, 'device_type');
    no_data = SilEntityLog.handleString(json, 'no_data');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['faultList'] = this.faultList;
    data['pending'] = this.pending;
    data['completed'] = this.completed;
    data['warning_desc'] = this.warning_desc;
    data['time_failure'] = this.time_failure;
    data['sn'] = this.sn;
    data['device_type'] = this.device_type;
    data['no_data'] = this.no_data;
    return data;
  }
}

class Business {
  String? business;
  String? name;
  String? namePhane;
  String? phonePhane;
  String? phone;
  String? email;
  String? emailPhane;
  String? country;
  String? language;
  String? details;
  String? desc_Phlace;
  String? submit;

  Business({
    this.business,
    this.name,
    this.namePhane,
    this.phonePhane,
    this.phone,
    this.email,
    this.emailPhane,
    this.country,
    this.language,
    this.details,
    this.desc_Phlace,
    this.submit,
  });

  Business.fromJson(Map<String, dynamic> json) {
    business = SilEntityLog.handleString(json, 'business');
    name = SilEntityLog.handleString(json, 'name');
    namePhane = SilEntityLog.handleString(json, 'namePhane');
    phonePhane = SilEntityLog.handleString(json, 'phonePhane');
    phone = SilEntityLog.handleString(json, 'phone');
    email = SilEntityLog.handleString(json, 'email');
    emailPhane = SilEntityLog.handleString(json, 'emailPhane');
    country = SilEntityLog.handleString(json, 'country');
    language = SilEntityLog.handleString(json, 'language');
    details = SilEntityLog.handleString(json, 'details');
    desc_Phlace = SilEntityLog.handleString(json, 'desc_Phlace');
    submit = SilEntityLog.handleString(json, 'submit');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['business'] = this.business;
    data['name'] = this.name;
    data['namePhane'] = this.namePhane;
    data['phonePhane'] = this.phonePhane;
    data['phone'] = this.phone;
    data['email'] = this.email;
    data['emailPhane'] = this.emailPhane;
    data['country'] = this.country;
    data['language'] = this.language;
    data['details'] = this.details;
    data['desc_Phlace'] = this.desc_Phlace;
    data['submit'] = this.submit;
    return data;
  }
}

class AboutUs {
  String? policy;
  String? service;
  String? aboutus;
  String? version;
  String? update;
  String? function_introduction;
  String? download;
  String? noNewVersion;
  String? updatedText;
  String? btnText;

  AboutUs({
    this.policy,
    this.service,
    this.aboutus,
    this.version,
    this.update,
    this.function_introduction,
    this.download,
    this.noNewVersion,
    this.updatedText,
    this.btnText,
  });

  AboutUs.fromJson(Map<String, dynamic> json) {
    policy = SilEntityLog.handleString(json, 'policy');
    service = SilEntityLog.handleString(json, 'service');
    aboutus = SilEntityLog.handleString(json, 'aboutus');
    version = SilEntityLog.handleString(json, 'version');
    update = SilEntityLog.handleString(json, 'update');
    function_introduction =
        SilEntityLog.handleString(json, 'function_introduction');
    download = SilEntityLog.handleString(json, 'download');
    noNewVersion = SilEntityLog.handleString(json, 'noNewVersion');
    updatedText = SilEntityLog.handleString(json, 'updatedText');
    btnText = SilEntityLog.handleString(json, 'btnText');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['policy'] = this.policy;
    data['service'] = this.service;
    data['aboutus'] = this.aboutus;
    data['version'] = this.version;
    data['update'] = this.update;
    data['function_introduction'] = this.function_introduction;
    data['download'] = this.download;
    data['noNewVersion'] = this.noNewVersion;
    data['updatedText'] = this.updatedText;
    data['btnText'] = this.btnText;
    return data;
  }
}

class User {
  String? profile_photo;
  String? name;
  String? country;
  String? phone;
  String? email;
  String? my_profile;
  String? edit_phone;
  String? bind_phone;
  String? edit_email;
  String? bind_email;
  String? logout;
  String? logoutDesc;

  User({
    this.profile_photo,
    this.name,
    this.country,
    this.phone,
    this.email,
    this.my_profile,
    this.edit_phone,
    this.bind_phone,
    this.edit_email,
    this.bind_email,
    this.logout,
    this.logoutDesc,
  });

  User.fromJson(Map<String, dynamic> json) {
    profile_photo = SilEntityLog.handleString(json, 'profile_photo');
    name = SilEntityLog.handleString(json, 'name');
    country = SilEntityLog.handleString(json, 'country');
    phone = SilEntityLog.handleString(json, 'phone');
    email = SilEntityLog.handleString(json, 'email');
    my_profile = SilEntityLog.handleString(json, 'my_profile');
    edit_phone = SilEntityLog.handleString(json, 'edit_phone');
    bind_phone = SilEntityLog.handleString(json, 'bind_phone');
    edit_email = SilEntityLog.handleString(json, 'edit_email');
    bind_email = SilEntityLog.handleString(json, 'bind_email');
    logout = SilEntityLog.handleString(json, 'logout');
    logoutDesc = SilEntityLog.handleString(json, 'logoutDesc');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['profile_photo'] = this.profile_photo;
    data['name'] = this.name;
    data['country'] = this.country;
    data['phone'] = this.phone;
    data['email'] = this.email;
    data['my_profile'] = this.my_profile;
    data['edit_phone'] = this.edit_phone;
    data['bind_phone'] = this.bind_phone;
    data['edit_email'] = this.edit_email;
    data['bind_email'] = this.bind_email;
    data['logout'] = this.logout;
    data['logoutDesc'] = this.logoutDesc;
    return data;
  }
}

class EditPhone {
  String? phone;
  String? phonePhlane;
  String? phonephl;
  String? code;
  String? codePhlane;
  String? new_phone;
  String? newPhonePhlane;
  String? submit;
  String? edit;

  EditPhone({
    this.phone,
    this.phonePhlane,
    this.phonephl,
    this.code,
    this.codePhlane,
    this.new_phone,
    this.newPhonePhlane,
    this.submit,
    this.edit,
  });

  EditPhone.fromJson(Map<String, dynamic> json) {
    phone = SilEntityLog.handleString(json, 'phone');
    phonePhlane = SilEntityLog.handleString(json, 'phonePhlane');
    phonephl = SilEntityLog.handleString(json, 'phonephl');
    code = SilEntityLog.handleString(json, 'code');
    codePhlane = SilEntityLog.handleString(json, 'codePhlane');
    new_phone = SilEntityLog.handleString(json, 'new_phone');
    newPhonePhlane = SilEntityLog.handleString(json, 'newPhonePhlane');
    submit = SilEntityLog.handleString(json, 'submit');
    edit = SilEntityLog.handleString(json, 'edit');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['phone'] = this.phone;
    data['phonePhlane'] = this.phonePhlane;
    data['phonephl'] = this.phonephl;
    data['code'] = this.code;
    data['codePhlane'] = this.codePhlane;
    data['new_phone'] = this.new_phone;
    data['newPhonePhlane'] = this.newPhonePhlane;
    data['submit'] = this.submit;
    data['edit'] = this.edit;
    return data;
  }
}

class EditEmail {
  String? email;
  String? emailphl;
  String? emailphlane;
  String? code;
  String? codePhlane;
  String? newEmail;
  String? newEmailPhlane;
  String? submit;

  EditEmail({
    this.email,
    this.emailphl,
    this.emailphlane,
    this.code,
    this.codePhlane,
    this.newEmail,
    this.newEmailPhlane,
    this.submit,
  });

  EditEmail.fromJson(Map<String, dynamic> json) {
    email = SilEntityLog.handleString(json, 'email');
    emailphl = SilEntityLog.handleString(json, 'emailphl');
    emailphlane = SilEntityLog.handleString(json, 'emailphlane');
    code = SilEntityLog.handleString(json, 'code');
    codePhlane = SilEntityLog.handleString(json, 'codePhlane');
    newEmail = SilEntityLog.handleString(json, 'newEmail');
    newEmailPhlane = SilEntityLog.handleString(json, 'newEmailPhlane');
    submit = SilEntityLog.handleString(json, 'submit');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['email'] = this.email;
    data['emailphl'] = this.emailphl;
    data['emailphlane'] = this.emailphlane;
    data['code'] = this.code;
    data['codePhlane'] = this.codePhlane;
    data['newEmail'] = this.newEmail;
    data['newEmailPhlane'] = this.newEmailPhlane;
    data['submit'] = this.submit;
    return data;
  }
}

class Index {
  String? uptime;
  String? remaining;
  String? hours;
  String? real_time;
  String? tpday_balance;
  String? detail_balance;
  String? generated;
  String? purchased;
  String? sold;
  String? generated_income;
  String? purchased_cost;
  String? sold_income;
  String? system_status;
  String? online;
  String? days;
  String? PV;
  String? grid;
  String? hybrid;
  String? battery_level;
  String? load;
  String? fault_warning;
  String? load_updata;
  String? az_fail;
  String? updata_fail;
  String? updata_success;
  String? gc;
  String? gcprice;
  String? nbcwd;
  String? zlcwd;
  String? dcwd;
  String? hjwd;
  String? wdjk;
  String? newapp;
  String? nowUpdate;
  String? download;
  String? on_grid_load;
  String? off_grid_load;
  String? loss_prompt;

  Index({
    this.uptime,
    this.remaining,
    this.hours,
    this.real_time,
    this.tpday_balance,
    this.detail_balance,
    this.generated,
    this.purchased,
    this.sold,
    this.generated_income,
    this.purchased_cost,
    this.sold_income,
    this.system_status,
    this.online,
    this.days,
    this.PV,
    this.grid,
    this.hybrid,
    this.battery_level,
    this.load,
    this.fault_warning,
    this.load_updata,
    this.az_fail,
    this.updata_fail,
    this.updata_success,
    this.gc,
    this.gcprice,
    this.nbcwd,
    this.zlcwd,
    this.dcwd,
    this.hjwd,
    this.wdjk,
    this.newapp,
    this.nowUpdate,
    this.download,
    this.on_grid_load,
    this.off_grid_load,
    this.loss_prompt,
  });

  Index.fromJson(Map<String, dynamic> json) {
    uptime = SilEntityLog.handleString(json, 'uptime');
    remaining = SilEntityLog.handleString(json, 'remaining');
    hours = SilEntityLog.handleString(json, 'hours');
    real_time = SilEntityLog.handleString(json, 'real_time');
    tpday_balance = SilEntityLog.handleString(json, 'tpday_balance');
    detail_balance = SilEntityLog.handleString(json, 'detail_balance');
    generated = SilEntityLog.handleString(json, 'generated');
    purchased = SilEntityLog.handleString(json, 'purchased');
    sold = SilEntityLog.handleString(json, 'sold');
    generated_income = SilEntityLog.handleString(json, 'generated_income');
    purchased_cost = SilEntityLog.handleString(json, 'purchased_cost');
    sold_income = SilEntityLog.handleString(json, 'sold_income');
    system_status = SilEntityLog.handleString(json, 'system_status');
    online = SilEntityLog.handleString(json, 'online');
    days = SilEntityLog.handleString(json, 'days');
    PV = SilEntityLog.handleString(json, 'PV');
    grid = SilEntityLog.handleString(json, 'grid');
    hybrid = SilEntityLog.handleString(json, 'hybrid');
    battery_level = SilEntityLog.handleString(json, 'battery_level');
    load = SilEntityLog.handleString(json, 'load');
    fault_warning = SilEntityLog.handleString(json, 'fault_warning');
    load_updata = SilEntityLog.handleString(json, 'load_updata');
    az_fail = SilEntityLog.handleString(json, 'az_fail');
    updata_fail = SilEntityLog.handleString(json, 'updata_fail');
    updata_success = SilEntityLog.handleString(json, 'updata_success');
    gc = SilEntityLog.handleString(json, 'gc');
    gcprice = SilEntityLog.handleString(json, 'gcprice');
    nbcwd = SilEntityLog.handleString(json, 'nbcwd');
    zlcwd = SilEntityLog.handleString(json, 'zlcwd');
    dcwd = SilEntityLog.handleString(json, 'dcwd');
    hjwd = SilEntityLog.handleString(json, 'hjwd');
    wdjk = SilEntityLog.handleString(json, 'wdjk');
    newapp = SilEntityLog.handleString(json, 'newapp');
    nowUpdate = SilEntityLog.handleString(json, 'nowUpdate');
    download = SilEntityLog.handleString(json, 'download');
    on_grid_load = SilEntityLog.handleString(json, 'on_grid_load');
    off_grid_load = SilEntityLog.handleString(json, 'off_grid_load');
    loss_prompt = SilEntityLog.handleString(json, 'loss_prompt');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['uptime'] = this.uptime;
    data['remaining'] = this.remaining;
    data['hours'] = this.hours;
    data['real_time'] = this.real_time;
    data['tpday_balance'] = this.tpday_balance;
    data['detail_balance'] = this.detail_balance;
    data['generated'] = this.generated;
    data['purchased'] = this.purchased;
    data['sold'] = this.sold;
    data['generated_income'] = this.generated_income;
    data['purchased_cost'] = this.purchased_cost;
    data['sold_income'] = this.sold_income;
    data['system_status'] = this.system_status;
    data['online'] = this.online;
    data['days'] = this.days;
    data['PV'] = this.PV;
    data['grid'] = this.grid;
    data['hybrid'] = this.hybrid;
    data['battery_level'] = this.battery_level;
    data['load'] = this.load;
    data['fault_warning'] = this.fault_warning;
    data['load_updata'] = this.load_updata;
    data['az_fail'] = this.az_fail;
    data['updata_fail'] = this.updata_fail;
    data['updata_success'] = this.updata_success;
    data['gc'] = this.gc;
    data['gcprice'] = this.gcprice;
    data['nbcwd'] = this.nbcwd;
    data['zlcwd'] = this.zlcwd;
    data['dcwd'] = this.dcwd;
    data['hjwd'] = this.hjwd;
    data['wdjk'] = this.wdjk;
    data['newapp'] = this.newapp;
    data['nowUpdate'] = this.nowUpdate;
    data['download'] = this.download;
    data['on_grid_load'] = this.on_grid_load;
    data['off_grid_load'] = this.off_grid_load;
    data['loss_prompt'] = this.loss_prompt;
    return data;
  }
}

class Dz_zzw {
  String? safely_run;
  String? days;
  String? generation;
  String? income;
  String? energy_storing;
  String? totalEnergy;
  String? co2;
  String? slkf;
  String? save_coal;
  String? save_fuel;
  String? spec;
  String? g_c;
  String? year;
  String? month;
  String? day;
  String? gc;
  String? gcprice;
  String? ec;
  String? soc;
  String? rd;
  String? pv1;
  String? pv2;
  String? pv3;
  String? pv4;
  String? power;
  String? voltage;
  String? current;
  String? messageChart;

  Dz_zzw({
    this.safely_run,
    this.days,
    this.generation,
    this.income,
    this.energy_storing,
    this.totalEnergy,
    this.co2,
    this.slkf,
    this.save_coal,
    this.save_fuel,
    this.spec,
    this.g_c,
    this.year,
    this.month,
    this.day,
    this.gc,
    this.gcprice,
    this.ec,
    this.soc,
    this.rd,
    this.pv1,
    this.pv2,
    this.pv3,
    this.pv4,
    this.power,
    this.voltage,
    this.current,
    this.messageChart,
  });

  Dz_zzw.fromJson(Map<String, dynamic> json) {
    safely_run = SilEntityLog.handleString(json, 'safely_run');
    days = SilEntityLog.handleString(json, 'days');
    generation = SilEntityLog.handleString(json, 'generation');
    income = SilEntityLog.handleString(json, 'income');
    energy_storing = SilEntityLog.handleString(json, 'energy_storing');
    totalEnergy = SilEntityLog.handleString(json, 'totalEnergy');
    co2 = SilEntityLog.handleString(json, 'co2');
    slkf = SilEntityLog.handleString(json, 'slkf');
    save_coal = SilEntityLog.handleString(json, 'save_coal');
    save_fuel = SilEntityLog.handleString(json, 'save_fuel');
    spec = SilEntityLog.handleString(json, 'spec');
    g_c = SilEntityLog.handleString(json, 'g_c');
    year = SilEntityLog.handleString(json, 'year');
    month = SilEntityLog.handleString(json, 'month');
    day = SilEntityLog.handleString(json, 'day');
    gc = SilEntityLog.handleString(json, 'gc');
    gcprice = SilEntityLog.handleString(json, 'gcprice');
    ec = SilEntityLog.handleString(json, 'ec');
    soc = SilEntityLog.handleString(json, 'soc');
    rd = SilEntityLog.handleString(json, 'rd');
    pv1 = SilEntityLog.handleString(json, 'pv1');
    pv2 = SilEntityLog.handleString(json, 'pv2');
    pv3 = SilEntityLog.handleString(json, 'pv3');
    pv4 = SilEntityLog.handleString(json, 'pv4');
    power = SilEntityLog.handleString(json, 'power');
    voltage = SilEntityLog.handleString(json, 'voltage');
    current = SilEntityLog.handleString(json, 'current');
    messageChart = SilEntityLog.handleString(json, 'messageChart');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['safely_run'] = this.safely_run;
    data['days'] = this.days;
    data['generation'] = this.generation;
    data['income'] = this.income;
    data['energy_storing'] = this.energy_storing;
    data['totalEnergy'] = this.totalEnergy;
    data['co2'] = this.co2;
    data['slkf'] = this.slkf;
    data['save_coal'] = this.save_coal;
    data['save_fuel'] = this.save_fuel;
    data['spec'] = this.spec;
    data['g_c'] = this.g_c;
    data['year'] = this.year;
    data['month'] = this.month;
    data['day'] = this.day;
    data['gc'] = this.gc;
    data['gcprice'] = this.gcprice;
    data['ec'] = this.ec;
    data['soc'] = this.soc;
    data['rd'] = this.rd;
    data['pv1'] = this.pv1;
    data['pv2'] = this.pv2;
    data['pv3'] = this.pv3;
    data['pv4'] = this.pv4;
    data['power'] = this.power;
    data['voltage'] = this.voltage;
    data['current'] = this.current;
    data['messageChart'] = this.messageChart;
    return data;
  }
}

class EditNickName {
  String? nickname;
  String? nicknamePhlace;
  String? accomplish;

  EditNickName({
    this.nickname,
    this.nicknamePhlace,
    this.accomplish,
  });

  EditNickName.fromJson(Map<String, dynamic> json) {
    nickname = SilEntityLog.handleString(json, 'nickname');
    nicknamePhlace = SilEntityLog.handleString(json, 'nicknamePhlace');
    accomplish = SilEntityLog.handleString(json, 'accomplish');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['nickname'] = this.nickname;
    data['nicknamePhlace'] = this.nicknamePhlace;
    data['accomplish'] = this.accomplish;
    return data;
  }
}

class UserDz_setting {
  String? dz_system;
  String? runTime;
  String? add;
  String? electricity;
  String? modifications;
  String? delete;
  String? deleteSuccess;
  String? deleteError;
  String? enterName;

  UserDz_setting({
    this.dz_system,
    this.runTime,
    this.add,
    this.electricity,
    this.modifications,
    this.delete,
    this.deleteSuccess,
    this.deleteError,
    this.enterName,
  });

  UserDz_setting.fromJson(Map<String, dynamic> json) {
    dz_system = SilEntityLog.handleString(json, 'dz_system');
    runTime = SilEntityLog.handleString(json, 'runTime');
    add = SilEntityLog.handleString(json, 'add');
    electricity = SilEntityLog.handleString(json, 'electricity');
    modifications = SilEntityLog.handleString(json, 'modifications');
    delete = SilEntityLog.handleString(json, 'delete');
    deleteSuccess = SilEntityLog.handleString(json, 'deleteSuccess');
    deleteError = SilEntityLog.handleString(json, 'deleteError');
    enterName = SilEntityLog.handleString(json, 'enterName');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['dz_system'] = this.dz_system;
    data['runTime'] = this.runTime;
    data['add'] = this.add;
    data['electricity'] = this.electricity;
    data['modifications'] = this.modifications;
    data['delete'] = this.delete;
    data['deleteSuccess'] = this.deleteSuccess;
    data['deleteError'] = this.deleteError;
    data['enterName'] = this.enterName;
    return data;
  }
}

class Dz_add {
  String? addName;
  String? addNewPower;
  String? addKey;

  Dz_add({this.addName, this.addNewPower, this.addKey});

  Dz_add.fromJson(Map<String, dynamic> json) {
    addName = SilEntityLog.handleString(json, 'addName');
    addNewPower = SilEntityLog.handleString(json, 'addNewPower');
    addKey = SilEntityLog.handleString(json, 'addKey');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['addName'] = this.addName;
    data['addNewPower'] = this.addNewPower;
    data['addKey'] = this.addKey;
    return data;
  }
}

class Dzdz2 {
  String? add_power;
  String? wifi;
  String? sn_code;
  String? cancel;
  String? confirm;
  String? add_sn;
  String? message;
  String? conWIFI;
  String? conDeviceWIFI;
  String? SN_noempty;
  String? timezone_noempty;
  String? changeWIFI_title;
  String? changeWIFI_content;
  String? setting_WIFI;
  String? noWIFI;
  String? tspopup;
  String? nonTimeZone;
  String? addSuccess;

  Dzdz2({
    this.add_power,
    this.wifi,
    this.sn_code,
    this.cancel,
    this.confirm,
    this.add_sn,
    this.message,
    this.conWIFI,
    this.conDeviceWIFI,
    this.SN_noempty,
    this.timezone_noempty,
    this.changeWIFI_title,
    this.changeWIFI_content,
    this.setting_WIFI,
    this.noWIFI,
    this.tspopup,
    this.nonTimeZone,
    this.addSuccess,
  });

  Dzdz2.fromJson(Map<String, dynamic> json) {
    add_power = SilEntityLog.handleString(json, 'add_power');
    wifi = SilEntityLog.handleString(json, 'wifi');
    sn_code = SilEntityLog.handleString(json, 'sn_code');
    cancel = SilEntityLog.handleString(json, 'cancel');
    confirm = SilEntityLog.handleString(json, 'confirm');
    add_sn = SilEntityLog.handleString(json, 'add_sn');
    message = SilEntityLog.handleString(json, 'message');
    conWIFI = SilEntityLog.handleString(json, 'conWIFI');
    conDeviceWIFI = SilEntityLog.handleString(json, 'conDeviceWIFI');
    SN_noempty = SilEntityLog.handleString(json, 'SN_noempty');
    timezone_noempty = SilEntityLog.handleString(json, 'timezone_noempty');
    changeWIFI_title = SilEntityLog.handleString(json, 'changeWIFI_title');
    changeWIFI_content = SilEntityLog.handleString(json, 'changeWIFI_content');
    setting_WIFI = SilEntityLog.handleString(json, 'setting_WIFI');
    noWIFI = SilEntityLog.handleString(json, 'noWIFI');
    tspopup = SilEntityLog.handleString(json, 'tspopup');
    nonTimeZone = SilEntityLog.handleString(json, 'nonTimeZone');
    addSuccess = SilEntityLog.handleString(json, 'addSuccess');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['add_power'] = this.add_power;
    data['wifi'] = this.wifi;
    data['sn_code'] = this.sn_code;
    data['cancel'] = this.cancel;
    data['confirm'] = this.confirm;
    data['add_sn'] = this.add_sn;
    data['message'] = this.message;
    data['conWIFI'] = this.conWIFI;
    data['conDeviceWIFI'] = this.conDeviceWIFI;
    data['SN_noempty'] = this.SN_noempty;
    data['timezone_noempty'] = this.timezone_noempty;
    data['changeWIFI_title'] = this.changeWIFI_title;
    data['changeWIFI_content'] = this.changeWIFI_content;
    data['setting_WIFI'] = this.setting_WIFI;
    data['noWIFI'] = this.noWIFI;
    data['tspopup'] = this.tspopup;
    data['nonTimeZone'] = this.nonTimeZone;
    data['addSuccess'] = this.addSuccess;
    return data;
  }
}

class Power_setting {
  String? power_station;
  String? power_selling;
  String? auto_battery;
  String? work_pattern;
  String? generation_setting;
  String? smart_power;
  String? load_setting;
  String? smart_power2;
  String? electricity;
  String? electricity_inquire;
  String? ele_prece;
  String? currency;
  String? priceType;
  String? save;
  String? chargeTime1;
  String? dischargeTime1;
  String? chargeTime2;
  String? dischargeTime2;
  String? please;
  String? hourText;
  String? minuteText;
  String? is_turn_off_ps;
  String? turn_off_ps;
  String? is_turn_on_ps;
  String? turn_on_ps;
  String? zfzy;
  String? xftg;
  String? dcyx;
  String? sub_desc;
  String? sbu_desc;
  String? sol_desc;
  String? uti_desc;
  String? gfyx;
  String? gfsd;
  String? power_set_desc_0;
  String? power_set_desc_1;
  String? editpopTitle;
  String? editpop_desc;
  String? limit_selling;
  String? daily_electricity_price;
  String? autoSetPrompt;
  String? autoBattry;
  String? auto_sell_set;
  String? grid_priority;
  String? offline_prompt;

  String? power_selling_desc;
  String? auto_battery_desc;
  String? auto_sell_set_desc;
  String? zfzy_desc;
  String? xftg_desc;
  String? dcyx_desc;
  String? bwyx_desc;

  Power_setting(
      {this.power_station,
      this.power_selling,
      this.auto_battery,
      this.work_pattern,
      this.generation_setting,
      this.smart_power,
      this.load_setting,
      this.smart_power2,
      this.electricity,
      this.electricity_inquire,
      this.ele_prece,
      this.currency,
      this.priceType,
      this.save,
      this.chargeTime1,
      this.dischargeTime1,
      this.chargeTime2,
      this.dischargeTime2,
      this.please,
      this.hourText,
      this.minuteText,
      this.is_turn_off_ps,
      this.turn_off_ps,
      this.is_turn_on_ps,
      this.turn_on_ps,
      this.zfzy,
      this.xftg,
      this.dcyx,
      this.sub_desc,
      this.sbu_desc,
      this.sol_desc,
      this.uti_desc,
      this.gfyx,
      this.gfsd,
      this.power_set_desc_0,
      this.power_set_desc_1,
      this.editpopTitle,
      this.editpop_desc,
      this.limit_selling,
      this.daily_electricity_price,
      this.autoSetPrompt,
      this.autoBattry,
      this.auto_sell_set,
      this.grid_priority,
      this.offline_prompt,
      this.power_selling_desc,
      this.auto_battery_desc,
      this.auto_sell_set_desc,
      this.zfzy_desc,
      this.xftg_desc,
      this.dcyx_desc,
      this.bwyx_desc});

  Power_setting.fromJson(Map<String, dynamic> json) {
    power_station = SilEntityLog.handleString(json, 'power_station');
    power_selling = SilEntityLog.handleString(json, 'power_selling');
    auto_battery = SilEntityLog.handleString(json, 'auto_battery');
    work_pattern = SilEntityLog.handleString(json, 'work_pattern');
    generation_setting = SilEntityLog.handleString(json, 'generation_setting');
    smart_power = SilEntityLog.handleString(json, 'smart_power');
    load_setting = SilEntityLog.handleString(json, 'load_setting');
    smart_power2 = SilEntityLog.handleString(json, 'smart_power2');
    electricity = SilEntityLog.handleString(json, 'electricity');
    electricity_inquire =
        SilEntityLog.handleString(json, 'electricity_inquire');
    ele_prece = SilEntityLog.handleString(json, 'ele_prece');
    currency = SilEntityLog.handleString(json, 'currency');
    priceType = SilEntityLog.handleString(json, 'priceType');
    save = SilEntityLog.handleString(json, 'save');
    chargeTime1 = SilEntityLog.handleString(json, 'chargeTime1');
    dischargeTime1 = SilEntityLog.handleString(json, 'dischargeTime1');
    chargeTime2 = SilEntityLog.handleString(json, 'chargeTime2');
    dischargeTime2 = SilEntityLog.handleString(json, 'dischargeTime2');
    please = SilEntityLog.handleString(json, 'please');
    hourText = SilEntityLog.handleString(json, 'hourText');
    minuteText = SilEntityLog.handleString(json, 'minuteText');
    is_turn_off_ps = SilEntityLog.handleString(json, 'is_turn_off_ps');
    turn_off_ps = SilEntityLog.handleString(json, 'turn_off_ps');
    is_turn_on_ps = SilEntityLog.handleString(json, 'is_turn_on_ps');
    turn_on_ps = SilEntityLog.handleString(json, 'turn_on_ps');
    zfzy = SilEntityLog.handleString(json, 'zfzy');
    xftg = SilEntityLog.handleString(json, 'xftg');
    dcyx = SilEntityLog.handleString(json, 'dcyx');
    sub_desc = SilEntityLog.handleString(json, 'sub_desc');
    sbu_desc = SilEntityLog.handleString(json, 'sbu_desc');
    sol_desc = SilEntityLog.handleString(json, 'sol_desc');
    uti_desc = SilEntityLog.handleString(json, 'uti_desc');
    gfyx = SilEntityLog.handleString(json, 'gfyx');
    gfsd = SilEntityLog.handleString(json, 'gfsd');
    power_set_desc_0 = SilEntityLog.handleString(json, 'power_set_desc_0');
    power_set_desc_1 = SilEntityLog.handleString(json, 'power_set_desc_1');
    editpopTitle = SilEntityLog.handleString(json, 'editpopTitle');
    editpop_desc = SilEntityLog.handleString(json, 'editpop_desc');
    limit_selling = SilEntityLog.handleString(json, 'limit_selling');
    daily_electricity_price =
        SilEntityLog.handleString(json, 'daily_electricity_price');
    autoSetPrompt = SilEntityLog.handleString(json, 'autoSetPrompt');
    autoBattry = SilEntityLog.handleString(json, 'autoBattry');
    auto_sell_set = SilEntityLog.handleString(json, 'auto_sell_set');
    grid_priority = SilEntityLog.handleString(json, "grid_priority");
    offline_prompt = SilEntityLog.handleString(json, "offline_prompt");

    power_selling_desc = SilEntityLog.handleString(json, "power_selling_desc");
    auto_battery_desc = SilEntityLog.handleString(json, "auto_battery_desc");
    auto_sell_set_desc = SilEntityLog.handleString(json, "auto_sell_set_desc");
    zfzy_desc = SilEntityLog.handleString(json, "zfzy_desc");
    xftg_desc = SilEntityLog.handleString(json, "xftg_desc");
    dcyx_desc = SilEntityLog.handleString(json, "dcyx_desc");
    bwyx_desc = SilEntityLog.handleString(json, "bwyx_desc");
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['power_station'] = this.power_station;
    data['power_selling'] = this.power_selling;
    data['auto_battery'] = this.auto_battery;
    data['work_pattern'] = this.work_pattern;
    data['generation_setting'] = this.generation_setting;
    data['smart_power'] = this.smart_power;
    data['load_setting'] = this.load_setting;
    data['smart_power2'] = this.smart_power2;
    data['electricity'] = this.electricity;
    data['electricity_inquire'] = this.electricity_inquire;
    data['ele_prece'] = this.ele_prece;
    data['currency'] = this.currency;
    data['priceType'] = this.priceType;
    data['save'] = this.save;
    data['chargeTime1'] = this.chargeTime1;
    data['dischargeTime1'] = this.dischargeTime1;
    data['chargeTime2'] = this.chargeTime2;
    data['dischargeTime2'] = this.dischargeTime2;
    data['please'] = this.please;
    data['hourText'] = this.hourText;
    data['minuteText'] = this.minuteText;
    data['is_turn_off_ps'] = this.is_turn_off_ps;
    data['turn_off_ps'] = this.turn_off_ps;
    data['is_turn_on_ps'] = this.is_turn_on_ps;
    data['turn_on_ps'] = this.turn_on_ps;
    data['zfzy'] = this.zfzy;
    data['xftg'] = this.xftg;
    data['dcyx'] = this.dcyx;
    data['sub_desc'] = this.sub_desc;
    data['sbu_desc'] = this.sbu_desc;
    data['sol_desc'] = this.sol_desc;
    data['uti_desc'] = this.uti_desc;
    data['gfyx'] = this.gfyx;
    data['gfsd'] = this.gfsd;
    data['power_set_desc_0'] = this.power_set_desc_0;
    data['power_set_desc_1'] = this.power_set_desc_1;
    data['editpopTitle'] = this.editpopTitle;
    data['editpop_desc'] = this.editpop_desc;
    data['limit_selling'] = this.limit_selling;
    data['daily_electricity_price'] = this.daily_electricity_price;
    data['autoSetPrompt'] = this.autoSetPrompt;
    data['autoBattry'] = this.autoBattry;
    data['auto_sell_set'] = this.auto_sell_set;
    data['grid_priority'] = this.grid_priority;
    data['offline_prompt'] = this.offline_prompt;

    data['power_selling_desc'] = this.power_selling_desc;
    data['auto_battery_desc'] = this.auto_battery_desc;
    data['auto_sell_set_desc'] = this.auto_sell_set_desc;
    data['zfzy_desc'] = this.zfzy_desc;
    data['dcyx_desc'] = this.dcyx_desc;
    data['dcyx_desc'] = this.dcyx_desc;
    data['bwyx_desc'] = this.bwyx_desc;

    return data;
  }
}

class Opinion {
  String? feedoack;
  String? suggestion;
  String? opplace;
  String? submit;

  Opinion({
    this.feedoack,
    this.suggestion,
    this.opplace,
    this.submit,
  });

  Opinion.fromJson(Map<String, dynamic> json) {
    feedoack = SilEntityLog.handleString(json, 'feedoack');
    suggestion = SilEntityLog.handleString(json, 'suggestion');
    opplace = SilEntityLog.handleString(json, 'opplace');
    submit = SilEntityLog.handleString(json, 'submit');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['feedoack'] = this.feedoack;
    data['suggestion'] = this.suggestion;
    data['opplace'] = this.opplace;
    data['submit'] = this.submit;
    return data;
  }
}

class Price {
  String? title;

  Price({
    this.title,
  });

  Price.fromJson(Map<String, dynamic> json) {
    title = SilEntityLog.handleString(json, 'title');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    return data;
  }
}

class Common {
  String? account_notEmpty;
  String? pwd_notEmpty;
  String? code_notEmpty;
  String? againPwd_notEmpty;
  String? pwd_not_match;
  String? nationality_notEmpty;
  String? country_notEmpty;
  String? option_notEmpty;
  String? name_notEmpty;
  String? cooperation_notEmpty;
  String? nickName_notEmpty;
  String? electricity_noZero;
  String? peekShift_err;
  String? phone_notEmpty;
  String? originalPhone_notEmpty;
  String? newPhone_notEmpty;
  String? phone_not_match;
  String? email_notEmpty;
  String? originalEmail_notEmpty;
  String? newEmail_notEmpty;
  String? email_not_match;
  String? email_correctFormat;
  String? phone_correctFormat;
  String? please_add_power;
  String? codeSend;
  String? second_sLater;
  String? regain;
  String? get_code;
  String? code_error;
  String? login_success;
  String? login_error;
  String? register_success;
  String? edit_success;
  String? binding_success;
  String? submit_success;
  String? dh_success;
  String? dh_error;
  String? add_desc;
  String? add_left;
  String? add_right;
  String? confirm;
  String? cancel;
  String? editname_title;
  String? editname_desc1;
  String? editname_desc2;
  String? bind_email;
  String? email_desc1;
  String? email_desc2;
  String? dis_desc3;
  String? phone_title;
  String? phone_desc1;
  String? phone_desc2;
  String? country_title;
  String? country_desc1;
  String? country_desc2;
  String? loading;
  String? noMore;
  String? edit_error;
  String? equipmentSelection;
  String? modelSelection;
  String? controySelection;
  String? modelNumber;
  String? snNumber;
  String? enter;
  String? configuration;

  Common({
    this.account_notEmpty,
    this.pwd_notEmpty,
    this.code_notEmpty,
    this.againPwd_notEmpty,
    this.pwd_not_match,
    this.nationality_notEmpty,
    this.country_notEmpty,
    this.option_notEmpty,
    this.name_notEmpty,
    this.cooperation_notEmpty,
    this.nickName_notEmpty,
    this.electricity_noZero,
    this.peekShift_err,
    this.phone_notEmpty,
    this.originalPhone_notEmpty,
    this.newPhone_notEmpty,
    this.phone_not_match,
    this.email_notEmpty,
    this.originalEmail_notEmpty,
    this.newEmail_notEmpty,
    this.email_not_match,
    this.email_correctFormat,
    this.phone_correctFormat,
    this.please_add_power,
    this.codeSend,
    this.second_sLater,
    this.regain,
    this.get_code,
    this.code_error,
    this.login_success,
    this.login_error,
    this.register_success,
    this.edit_success,
    this.binding_success,
    this.submit_success,
    this.dh_success,
    this.dh_error,
    this.add_desc,
    this.add_left,
    this.add_right,
    this.confirm,
    this.cancel,
    this.editname_title,
    this.editname_desc1,
    this.editname_desc2,
    this.bind_email,
    this.email_desc1,
    this.email_desc2,
    this.dis_desc3,
    this.phone_title,
    this.phone_desc1,
    this.phone_desc2,
    this.country_title,
    this.country_desc1,
    this.country_desc2,
    this.loading,
    this.noMore,
    this.edit_error,
    this.equipmentSelection,
    this.modelSelection,
    this.controySelection,
    this.modelNumber,
    this.snNumber,
    this.enter,
    this.configuration,
  });

  Common.fromJson(Map<String, dynamic> json) {
    account_notEmpty = SilEntityLog.handleString(json, 'account_notEmpty');
    pwd_notEmpty = SilEntityLog.handleString(json, 'pwd_notEmpty');
    code_notEmpty = SilEntityLog.handleString(json, 'code_notEmpty');
    againPwd_notEmpty = SilEntityLog.handleString(json, 'againPwd_notEmpty');
    pwd_not_match = SilEntityLog.handleString(json, 'pwd_not_match');
    nationality_notEmpty =
        SilEntityLog.handleString(json, 'nationality_notEmpty');
    country_notEmpty = SilEntityLog.handleString(json, 'country_notEmpty');
    option_notEmpty = SilEntityLog.handleString(json, 'option_notEmpty');
    name_notEmpty = SilEntityLog.handleString(json, 'name_notEmpty');
    cooperation_notEmpty =
        SilEntityLog.handleString(json, 'cooperation_notEmpty');
    nickName_notEmpty = SilEntityLog.handleString(json, 'nickName_notEmpty');
    electricity_noZero = SilEntityLog.handleString(json, 'electricity_noZero');
    peekShift_err = SilEntityLog.handleString(json, 'peekShift_err');
    phone_notEmpty = SilEntityLog.handleString(json, 'phone_notEmpty');
    originalPhone_notEmpty =
        SilEntityLog.handleString(json, 'originalPhone_notEmpty');
    newPhone_notEmpty = SilEntityLog.handleString(json, 'newPhone_notEmpty');
    phone_not_match = SilEntityLog.handleString(json, 'phone_not_match');
    email_notEmpty = SilEntityLog.handleString(json, 'email_notEmpty');
    originalEmail_notEmpty =
        SilEntityLog.handleString(json, 'originalEmail_notEmpty');
    newEmail_notEmpty = SilEntityLog.handleString(json, 'newEmail_notEmpty');
    email_not_match = SilEntityLog.handleString(json, 'email_not_match');
    email_correctFormat =
        SilEntityLog.handleString(json, 'email_correctFormat');
    phone_correctFormat =
        SilEntityLog.handleString(json, 'phone_correctFormat');
    please_add_power = SilEntityLog.handleString(json, 'please_add_power');
    codeSend = SilEntityLog.handleString(json, 'codeSend');
    second_sLater = SilEntityLog.handleString(json, 'second_sLater');
    regain = SilEntityLog.handleString(json, 'regain');
    get_code = SilEntityLog.handleString(json, 'get_code');
    code_error = SilEntityLog.handleString(json, 'code_error');
    login_success = SilEntityLog.handleString(json, 'login_success');
    login_error = SilEntityLog.handleString(json, 'login_error');
    register_success = SilEntityLog.handleString(json, 'register_success');
    edit_success = SilEntityLog.handleString(json, 'edit_success');
    binding_success = SilEntityLog.handleString(json, 'binding_success');
    submit_success = SilEntityLog.handleString(json, 'submit_success');
    dh_success = SilEntityLog.handleString(json, 'dh_success');
    dh_error = SilEntityLog.handleString(json, 'dh_error');
    add_desc = SilEntityLog.handleString(json, 'add_desc');
    add_left = SilEntityLog.handleString(json, 'add_left');
    add_right = SilEntityLog.handleString(json, 'add_right');
    confirm = SilEntityLog.handleString(json, 'confirm');
    cancel = SilEntityLog.handleString(json, 'cancel');
    editname_title = SilEntityLog.handleString(json, 'editname_title');
    editname_desc1 = SilEntityLog.handleString(json, 'editname_desc1');
    editname_desc2 = SilEntityLog.handleString(json, 'editname_desc2');
    bind_email = SilEntityLog.handleString(json, 'bind_email');
    email_desc1 = SilEntityLog.handleString(json, 'email_desc1');
    email_desc2 = SilEntityLog.handleString(json, 'email_desc2');
    dis_desc3 = SilEntityLog.handleString(json, 'dis_desc3');
    phone_title = SilEntityLog.handleString(json, 'phone_title');
    phone_desc1 = SilEntityLog.handleString(json, 'phone_desc1');
    phone_desc2 = SilEntityLog.handleString(json, 'phone_desc2');
    country_title = SilEntityLog.handleString(json, 'country_title');
    country_desc1 = SilEntityLog.handleString(json, 'country_desc1');
    country_desc2 = SilEntityLog.handleString(json, 'country_desc2');
    loading = SilEntityLog.handleString(json, 'loading');
    noMore = SilEntityLog.handleString(json, 'noMore');
    edit_error = SilEntityLog.handleString(json, 'edit_error');
    equipmentSelection = SilEntityLog.handleString(json, 'equipmentSelection');
    modelSelection = SilEntityLog.handleString(json, 'modelSelection');
    controySelection = SilEntityLog.handleString(json, 'controySelection');
    modelNumber = SilEntityLog.handleString(json, 'modelNumber');
    snNumber = SilEntityLog.handleString(json, 'snNumber');
    enter = SilEntityLog.handleString(json, 'enter');
    configuration = SilEntityLog.handleString(json, 'configuration');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['account_notEmpty'] = this.account_notEmpty;
    data['pwd_notEmpty'] = this.pwd_notEmpty;
    data['code_notEmpty'] = this.code_notEmpty;
    data['againPwd_notEmpty'] = this.againPwd_notEmpty;
    data['pwd_not_match'] = this.pwd_not_match;
    data['nationality_notEmpty'] = this.nationality_notEmpty;
    data['country_notEmpty'] = this.country_notEmpty;
    data['option_notEmpty'] = this.option_notEmpty;
    data['name_notEmpty'] = this.name_notEmpty;
    data['cooperation_notEmpty'] = this.cooperation_notEmpty;
    data['nickName_notEmpty'] = this.nickName_notEmpty;
    data['electricity_noZero'] = this.electricity_noZero;
    data['peekShift_err'] = this.peekShift_err;
    data['phone_notEmpty'] = this.phone_notEmpty;
    data['originalPhone_notEmpty'] = this.originalPhone_notEmpty;
    data['newPhone_notEmpty'] = this.newPhone_notEmpty;
    data['phone_not_match'] = this.phone_not_match;
    data['email_notEmpty'] = this.email_notEmpty;
    data['originalEmail_notEmpty'] = this.originalEmail_notEmpty;
    data['newEmail_notEmpty'] = this.newEmail_notEmpty;
    data['email_not_match'] = this.email_not_match;
    data['email_correctFormat'] = this.email_correctFormat;
    data['phone_correctFormat'] = this.phone_correctFormat;
    data['please_add_power'] = this.please_add_power;
    data['codeSend'] = this.codeSend;
    data['second_sLater'] = this.second_sLater;
    data['regain'] = this.regain;
    data['get_code'] = this.get_code;
    data['code_error'] = this.code_error;
    data['login_success'] = this.login_success;
    data['login_error'] = this.login_error;
    data['register_success'] = this.register_success;
    data['edit_success'] = this.edit_success;
    data['binding_success'] = this.binding_success;
    data['submit_success'] = this.submit_success;
    data['dh_success'] = this.dh_success;
    data['dh_error'] = this.dh_error;
    data['add_desc'] = this.add_desc;
    data['add_left'] = this.add_left;
    data['add_right'] = this.add_right;
    data['confirm'] = this.confirm;
    data['cancel'] = this.cancel;
    data['editname_title'] = this.editname_title;
    data['editname_desc1'] = this.editname_desc1;
    data['editname_desc2'] = this.editname_desc2;
    data['bind_email'] = this.bind_email;
    data['email_desc1'] = this.email_desc1;
    data['email_desc2'] = this.email_desc2;
    data['dis_desc3'] = this.dis_desc3;
    data['phone_title'] = this.phone_title;
    data['phone_desc1'] = this.phone_desc1;
    data['phone_desc2'] = this.phone_desc2;
    data['country_title'] = this.country_title;
    data['country_desc1'] = this.country_desc1;
    data['country_desc2'] = this.country_desc2;
    data['loading'] = this.loading;
    data['noMore'] = this.noMore;
    data['edit_error'] = this.edit_error;
    data['equipmentSelection'] = this.equipmentSelection;
    data['modelSelection'] = this.modelSelection;
    data['controySelection'] = this.controySelection;
    data['modelNumber'] = this.modelNumber;
    data['snNumber'] = this.snNumber;
    data['enter'] = this.enter;
    data['configuration'] = this.configuration;
    return data;
  }
}

class NetErr {
  String? fun_err;
  String? net_err;

  NetErr({
    this.fun_err,
    this.net_err,
  });

  NetErr.fromJson(Map<String, dynamic> json) {
    fun_err = SilEntityLog.handleString(json, 'fun_err');
    net_err = SilEntityLog.handleString(json, 'net_err');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['fun_err'] = this.fun_err;
    data['net_err'] = this.net_err;
    return data;
  }
}

class Appup {
  String? uptips;
  String? newVersion;
  String? versionUp;
  String? isDownLoad;
  String? nowUp;
  String? laterUp;

  Appup({
    this.uptips,
    this.newVersion,
    this.versionUp,
    this.isDownLoad,
    this.nowUp,
    this.laterUp,
  });

  Appup.fromJson(Map<String, dynamic> json) {
    uptips = SilEntityLog.handleString(json, 'uptips');
    newVersion = SilEntityLog.handleString(json, 'newVersion');
    versionUp = SilEntityLog.handleString(json, 'versionUp');
    isDownLoad = SilEntityLog.handleString(json, 'isDownLoad');
    nowUp = SilEntityLog.handleString(json, 'nowUp');
    laterUp = SilEntityLog.handleString(json, 'laterUp');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['uptips'] = this.uptips;
    data['newVersion'] = this.newVersion;
    data['versionUp'] = this.versionUp;
    data['isDownLoad'] = this.isDownLoad;
    data['nowUp'] = this.nowUp;
    data['laterUp'] = this.laterUp;
    return data;
  }
}

class DeviceNetworking {
  String? deviceNetworking;
  String? noWifiNameAndPwd;
  String? wifiNotEnabled;
  String? fine;
  String? checkDevice;
  String? checkDevicePrompt;
  String? nextStep;
  String? connectDeviceWifi;
  String? connectDeviceWifiPrompt;
  String? goConnect;
  String? setWifi;
  String? setWifiPrompt;
  String? inputWifiPwd;
  String? noWifiName;
  String? noWifiPwd;
  String? no5GHzWifi;
  String? goOn;
  String? cancel;
  String? connectingDevice;
  String? connectingDevicePrompt;
  String? netStatePrompt;
  String? findDevice;
  String? deviceConnectWifi;
  String? deviceConnectCloud;
  String? deviceActivation;
  String? deviceNetworkingSuccess;
  String? deviceNetworkingFail;
  String? back;
  String? reset;
  String? deviceNetworkingFailPrompt;
  String? deviceNetworkingSuccessPrompt;

  /// 去切换
  String? switchNet;

  /// 联网确认提示
  String? netConfirmPrompt;

  DeviceNetworking(
      {this.deviceNetworking,
      this.noWifiNameAndPwd,
      this.wifiNotEnabled,
      this.fine,
      this.checkDevice,
      this.checkDevicePrompt,
      this.nextStep,
      this.connectDeviceWifi,
      this.connectDeviceWifiPrompt,
      this.goConnect,
      this.setWifi,
      this.setWifiPrompt,
      this.inputWifiPwd,
      this.noWifiName,
      this.noWifiPwd,
      this.no5GHzWifi,
      this.goOn,
      this.cancel,
      this.connectingDevice,
      this.connectingDevicePrompt,
      this.netStatePrompt,
      this.findDevice,
      this.deviceConnectWifi,
      this.deviceConnectCloud,
      this.deviceActivation,
      this.deviceNetworkingSuccess,
      this.deviceNetworkingFail,
      this.back,
      this.reset,
      this.deviceNetworkingFailPrompt,
      this.deviceNetworkingSuccessPrompt,
      this.switchNet,
      this.netConfirmPrompt});

  DeviceNetworking.fromJson(Map<String, dynamic> json) {
    deviceNetworking = SilEntityLog.handleString(json, 'deviceNetworking');
    noWifiNameAndPwd = SilEntityLog.handleString(json, 'noWifiNameAndPwd');
    wifiNotEnabled = SilEntityLog.handleString(json, 'wifiNotEnabled');
    fine = SilEntityLog.handleString(json, 'fine');
    checkDevice = SilEntityLog.handleString(json, 'checkDevice');
    checkDevicePrompt = SilEntityLog.handleString(json, 'checkDevicePrompt');
    nextStep = SilEntityLog.handleString(json, 'nextStep');
    connectDeviceWifi = SilEntityLog.handleString(json, 'connectDeviceWifi');
    connectDeviceWifiPrompt =
        SilEntityLog.handleString(json, 'connectDeviceWifiPrompt');
    goConnect = SilEntityLog.handleString(json, 'goConnect');
    setWifi = SilEntityLog.handleString(json, 'setWifi');
    setWifiPrompt = SilEntityLog.handleString(json, 'setWifiPrompt');
    inputWifiPwd = SilEntityLog.handleString(json, 'inputWifiPwd');
    noWifiName = SilEntityLog.handleString(json, 'noWifiName');
    noWifiPwd = SilEntityLog.handleString(json, 'noWifiPwd');
    no5GHzWifi = SilEntityLog.handleString(json, 'no5GHzWifi');
    goOn = SilEntityLog.handleString(json, 'goOn');
    cancel = SilEntityLog.handleString(json, 'cancel');
    connectingDevice = SilEntityLog.handleString(json, 'connectingDevice');
    connectingDevicePrompt =
        SilEntityLog.handleString(json, 'connectingDevicePrompt');
    netStatePrompt = SilEntityLog.handleString(json, 'netStatePrompt');
    findDevice = SilEntityLog.handleString(json, 'findDevice');
    deviceConnectWifi = SilEntityLog.handleString(json, 'deviceConnectWifi');
    deviceConnectCloud = SilEntityLog.handleString(json, 'deviceConnectCloud');
    deviceActivation = SilEntityLog.handleString(json, 'deviceActivation');
    deviceNetworkingSuccess =
        SilEntityLog.handleString(json, 'deviceNetworkingSuccess');
    deviceNetworkingFail =
        SilEntityLog.handleString(json, 'deviceNetworkingFail');
    back = SilEntityLog.handleString(json, 'back');
    reset = SilEntityLog.handleString(json, 'reset');
    deviceNetworkingFailPrompt =
        SilEntityLog.handleString(json, 'deviceNetworkingFailPrompt');
    deviceNetworkingSuccessPrompt =
        SilEntityLog.handleString(json, 'deviceNetworkingSuccessPrompt');
    switchNet = SilEntityLog.handleString(json, 'switchNet');
    netConfirmPrompt = SilEntityLog.handleString(json, 'netConfirmPrompt');
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['deviceNetworking'] = this.deviceNetworking;
    data['noWifiNameAndPwd'] = this.noWifiNameAndPwd;
    data['wifiNotEnabled'] = this.wifiNotEnabled;
    data['fine'] = this.fine;
    data['checkDevice'] = this.checkDevice;
    data['checkDevicePrompt'] = this.checkDevicePrompt;
    data['nextStep'] = this.nextStep;
    data['connectDeviceWifi'] = this.connectDeviceWifi;
    data['connectDeviceWifiPrompt'] = this.connectDeviceWifiPrompt;
    data['goConnect'] = this.goConnect;
    data['setWifi'] = this.setWifi;
    data['setWifiPrompt'] = this.setWifiPrompt;
    data['inputWifiPwd'] = this.inputWifiPwd;
    data['noWifiName'] = this.noWifiName;
    data['noWifiPwd'] = this.noWifiPwd;
    data['no5GHzWifi'] = this.no5GHzWifi;
    data['goOn'] = this.goOn;
    data['cancel'] = this.cancel;
    data['connectingDevice'] = this.connectingDevice;
    data['connectingDevicePrompt'] = this.connectingDevicePrompt;
    data['netStatePrompt'] = this.netStatePrompt;
    data['findDevice'] = this.findDevice;
    data['deviceConnectWifi'] = this.deviceConnectWifi;
    data['deviceConnectCloud'] = this.deviceConnectCloud;
    data['deviceActivation'] = this.deviceActivation;
    data['deviceNetworkingSuccess'] = this.deviceNetworkingSuccess;
    data['deviceNetworkingFail'] = this.deviceNetworkingFail;
    data['back'] = this.back;
    data['reset'] = this.reset;
    data['deviceNetworkingFailPrompt'] = this.deviceNetworkingFailPrompt;
    data['deviceNetworkingSuccessPrompt'] = this.deviceNetworkingSuccessPrompt;
    data['switchNet'] = this.switchNet;
    data['netConfirmPrompt'] = this.netConfirmPrompt;
    return data;
  }
}
